package jp.co.google.ben.picasa.client;

import java.util.List;

import jp.co.google.ben.picasa.model.AlbumModel;
import jp.co.google.ben.picasa.model.PhotoModel;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface AlbumServiceAsync {
	void loadPhoto(String albumId,int pageIndex, AsyncCallback<List<PhotoModel>> callback);

	void loginGoogle(AsyncCallback<Void> callback);

	void loadAlbum(AsyncCallback<List<AlbumModel>> callback);

}
